package com.ailiwu.www.ailiwu.bean;

import java.util.List;

/**
 * Author:    XiYoung
 * Version    V1.0
 * Date:      2015/12/6 000616:20
 * Description:
 * Modification  History:
 * Date         	Author        		Version        	Description
 * -----------------------------------------------------------------------------------
 * 2015/12/6 0006       XiYoung              1.0                   1.0
 * Why & What is modified:
 */
public class PostsBean {

    /**
     * code : 200
     * data : {"banner_image_url":"http://img02.liwushuo.com/image/151205/55v22pg5p.jpg-w300","cover_image_url":"http://img03.liwushuo.com/image/151205/tkbkz7yga.jpg-w720","created_at":1449273600,"id":117,"paging":{"next_url":"http://api.liwushuo.com/v2/collections/117/posts?limit=20&offset=20"},"posts":[{"content_url":"http://www.liwushuo.com/posts/1015778/content","cover_image_url":"http://img01.liwushuo.com/image/151009/rljpfj0te.jpg-w720","created_at":1444636800,"editor_id":null,"id":1015778,"label_ids":[],"liked":false,"likes_count":34045,"published_at":1444636800,"share_msg":"这个季节说我们缺件外套，不如说我们更该多入手几件打底衫。现在的打底衫变化多样，可不是原来的秋衣款了哦~宽松版、一字领、V领、高领...打底衫也可以很百变。选对一件打底衫，让搭配的外套更出彩，脱下外套，一件有型的打底衫也能hold住全场~","short_title":"百搭打底衫","status":0,"template":"","title":"百变打底衫，秋冬凹造型真轻松","updated_at":1444356056,"url":"http://www.liwushuo.com/posts/1015778"},{"content_url":"http://www.liwushuo.com/posts/1019830/content","cover_image_url":"http://img01.liwushuo.com/image/151102/m778eeixc.jpg-w720","created_at":1446688800,"editor_id":1045,"id":1019830,"label_ids":[],"liked":false,"likes_count":30722,"published_at":1446688800,"share_msg":"买衣服的最高境界就是一件能顶好几件，想穿什么风格都能在衣柜中找到这种百搭单品，也不怕被老妈念叨只穿一次就压箱底。想办到这样，买基础款总不会错，条纹长袖t、直筒牛仔裤、宽松纯色毛衣、黑色毛呢大衣、纯色打底裤、白衬衫、高领打底衫、纯色哈伦裤、牛仔裙、碎花连衣裙，这10款衣柜一定要常备哦～","short_title":"百搭单品","status":0,"template":"","title":"10款反复穿都穿不腻的百搭单品","updated_at":1446449372,"url":"http://www.liwushuo.com/posts/1019830"},{"content_url":"http://www.liwushuo.com/posts/1020494/content","cover_image_url":"http://img03.liwushuo.com/image/151105/szgx6xb2i.jpg-w720","created_at":1446775200,"editor_id":1021,"id":1020494,"label_ids":[],"liked":false,"likes_count":25532,"published_at":1446796800,"share_msg":"所谓无色系就是指没有明显色彩属性的颜色。黑、白、灰为无色系，无论它们与哪种颜色搭配，都不会出现大的问题，所以他们在日常搭配中的出镜率是最高的，也就是我们说的百搭。当你不知要如何搭的时候，拿他们出来，肯定有能用的。所以，衣柜一定要时常备着这些，多几件都无所谓的。","short_title":"百搭基本款","status":0,"template":"","title":" 出镜率超高的无色系，都是百搭基本款","updated_at":1446698145,"url":"http://www.liwushuo.com/posts/1020494"},{"content_url":"http://www.liwushuo.com/posts/1022433/content","cover_image_url":"http://img03.liwushuo.com/image/151116/oqu235ofw.jpg-w720","created_at":1447747200,"editor_id":1037,"id":1022433,"label_ids":[],"liked":false,"likes_count":31856,"published_at":1447747200,"share_msg":"说起衬衣，那真是从小到大衣橱中都离不开的一个品类，不同的衬衫经过不同的搭配可以穿出不同的风格。最重要的是衬衫永远不过时，也不过季。夏天用来做外套，冬天用来做内搭，都是穿搭中的加分项哦！清纯、甜美、性感、慵懒、知性等等，只要你想，衬衫都能给你想要的一切。快来看看如何用一件衬衫改变自己吧~","short_title":"百搭衬衣","status":0,"template":"","title":"就是最爱，不过季不过时的百搭衬衣","updated_at":1447665976,"url":"http://www.liwushuo.com/posts/1022433"}],"posts_count":4,"status":0,"subtitle":"万能打底衫","title":"一件就能凹出N种风格の","updated_at":1440242758}
     * message : OK
     */

    private int code;
    /**
     * banner_image_url : http://img02.liwushuo.com/image/151205/55v22pg5p.jpg-w300
     * cover_image_url : http://img03.liwushuo.com/image/151205/tkbkz7yga.jpg-w720
     * created_at : 1449273600
     * id : 117
     * paging : {"next_url":"http://api.liwushuo.com/v2/collections/117/posts?limit=20&offset=20"}
     * posts : [{"content_url":"http://www.liwushuo.com/posts/1015778/content","cover_image_url":"http://img01.liwushuo.com/image/151009/rljpfj0te.jpg-w720","created_at":1444636800,"editor_id":null,"id":1015778,"label_ids":[],"liked":false,"likes_count":34045,"published_at":1444636800,"share_msg":"这个季节说我们缺件外套，不如说我们更该多入手几件打底衫。现在的打底衫变化多样，可不是原来的秋衣款了哦~宽松版、一字领、V领、高领...打底衫也可以很百变。选对一件打底衫，让搭配的外套更出彩，脱下外套，一件有型的打底衫也能hold住全场~","short_title":"百搭打底衫","status":0,"template":"","title":"百变打底衫，秋冬凹造型真轻松","updated_at":1444356056,"url":"http://www.liwushuo.com/posts/1015778"},{"content_url":"http://www.liwushuo.com/posts/1019830/content","cover_image_url":"http://img01.liwushuo.com/image/151102/m778eeixc.jpg-w720","created_at":1446688800,"editor_id":1045,"id":1019830,"label_ids":[],"liked":false,"likes_count":30722,"published_at":1446688800,"share_msg":"买衣服的最高境界就是一件能顶好几件，想穿什么风格都能在衣柜中找到这种百搭单品，也不怕被老妈念叨只穿一次就压箱底。想办到这样，买基础款总不会错，条纹长袖t、直筒牛仔裤、宽松纯色毛衣、黑色毛呢大衣、纯色打底裤、白衬衫、高领打底衫、纯色哈伦裤、牛仔裙、碎花连衣裙，这10款衣柜一定要常备哦～","short_title":"百搭单品","status":0,"template":"","title":"10款反复穿都穿不腻的百搭单品","updated_at":1446449372,"url":"http://www.liwushuo.com/posts/1019830"},{"content_url":"http://www.liwushuo.com/posts/1020494/content","cover_image_url":"http://img03.liwushuo.com/image/151105/szgx6xb2i.jpg-w720","created_at":1446775200,"editor_id":1021,"id":1020494,"label_ids":[],"liked":false,"likes_count":25532,"published_at":1446796800,"share_msg":"所谓无色系就是指没有明显色彩属性的颜色。黑、白、灰为无色系，无论它们与哪种颜色搭配，都不会出现大的问题，所以他们在日常搭配中的出镜率是最高的，也就是我们说的百搭。当你不知要如何搭的时候，拿他们出来，肯定有能用的。所以，衣柜一定要时常备着这些，多几件都无所谓的。","short_title":"百搭基本款","status":0,"template":"","title":" 出镜率超高的无色系，都是百搭基本款","updated_at":1446698145,"url":"http://www.liwushuo.com/posts/1020494"},{"content_url":"http://www.liwushuo.com/posts/1022433/content","cover_image_url":"http://img03.liwushuo.com/image/151116/oqu235ofw.jpg-w720","created_at":1447747200,"editor_id":1037,"id":1022433,"label_ids":[],"liked":false,"likes_count":31856,"published_at":1447747200,"share_msg":"说起衬衣，那真是从小到大衣橱中都离不开的一个品类，不同的衬衫经过不同的搭配可以穿出不同的风格。最重要的是衬衫永远不过时，也不过季。夏天用来做外套，冬天用来做内搭，都是穿搭中的加分项哦！清纯、甜美、性感、慵懒、知性等等，只要你想，衬衫都能给你想要的一切。快来看看如何用一件衬衫改变自己吧~","short_title":"百搭衬衣","status":0,"template":"","title":"就是最爱，不过季不过时的百搭衬衣","updated_at":1447665976,"url":"http://www.liwushuo.com/posts/1022433"}]
     * posts_count : 4
     * status : 0
     * subtitle : 万能打底衫
     * title : 一件就能凹出N种风格の
     * updated_at : 1440242758
     */

    private DataEntity data;
    private String message;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMessage() {
        return message;
    }

    public static class DataEntity {
        private String banner_image_url;
        private String cover_image_url;
        private int created_at;
        private int id;
        /**
         * next_url : http://api.liwushuo.com/v2/collections/117/posts?limit=20&offset=20
         */

        private PagingEntity paging;
        private int posts_count;
        private int status;
        private String subtitle;
        private String title;
        private int updated_at;


        private List<PostsEntity> posts;

        public void setBanner_image_url(String banner_image_url) {
            this.banner_image_url = banner_image_url;
        }

        public void setCover_image_url(String cover_image_url) {
            this.cover_image_url = cover_image_url;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setPaging(PagingEntity paging) {
            this.paging = paging;
        }

        public void setPosts_count(int posts_count) {
            this.posts_count = posts_count;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setUpdated_at(int updated_at) {
            this.updated_at = updated_at;
        }

        public void setPosts(List<PostsEntity> posts) {
            this.posts = posts;
        }

        public String getBanner_image_url() {
            return banner_image_url;
        }

        public String getCover_image_url() {
            return cover_image_url;
        }

        public int getCreated_at() {
            return created_at;
        }

        public int getId() {
            return id;
        }

        public PagingEntity getPaging() {
            return paging;
        }

        public int getPosts_count() {
            return posts_count;
        }

        public int getStatus() {
            return status;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public String getTitle() {
            return title;
        }

        public int getUpdated_at() {
            return updated_at;
        }

        public List<PostsEntity> getPosts() {
            return posts;
        }

        public static class PagingEntity {
            private String next_url;

            public void setNext_url(String next_url) {
                this.next_url = next_url;
            }

            public String getNext_url() {
                return next_url;
            }
        }

        public static class PostsEntity {
            private String content_url;
            private String cover_image_url;
            private int created_at;
            private Object editor_id;
            private int id;
            private boolean liked;
            private int likes_count;
            private int published_at;
            private String share_msg;
            private String short_title;
            private int status;
            private String template;
            private String title;
            private int updated_at;
            private String url;


            public void setContent_url(String content_url) {
                this.content_url = content_url;
            }

            public void setCover_image_url(String cover_image_url) {
                this.cover_image_url = cover_image_url;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public void setEditor_id(Object editor_id) {
                this.editor_id = editor_id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setLiked(boolean liked) {
                this.liked = liked;
            }

            public void setLikes_count(int likes_count) {
                this.likes_count = likes_count;
            }

            public void setPublished_at(int published_at) {
                this.published_at = published_at;
            }

            public void setShare_msg(String share_msg) {
                this.share_msg = share_msg;
            }

            public void setShort_title(String short_title) {
                this.short_title = short_title;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public void setTemplate(String template) {
                this.template = template;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setUpdated_at(int updated_at) {
                this.updated_at = updated_at;
            }

            public void setUrl(String url) {
                this.url = url;
            }


            public String getContent_url() {
                return content_url;
            }

            public String getCover_image_url() {
                return cover_image_url;
            }

            public int getCreated_at() {
                return created_at;
            }

            public Object getEditor_id() {
                return editor_id;
            }

            public int getId() {
                return id;
            }

            public boolean isLiked() {
                return liked;
            }

            public int getLikes_count() {
                return likes_count;
            }

            public int getPublished_at() {
                return published_at;
            }

            public String getShare_msg() {
                return share_msg;
            }

            public String getShort_title() {
                return short_title;
            }

            public int getStatus() {
                return status;
            }

            public String getTemplate() {
                return template;
            }

            public String getTitle() {
                return title;
            }

            public int getUpdated_at() {
                return updated_at;
            }

            public String getUrl() {
                return url;
            }


        }
    }
}
